<nz-card >  
  <div  style="display: flex; flex-direction: row;" nz-row>
    <div class = 'grbutton' nz-col nzSpan="2" nzPush="6" style="line-height: 40px;">
        <button nz-button type="submit" [nzType]="grdj" (click)="gr()" >
          <i nz-icon nzType="user"></i>个人
        </button>
      </div>
      <div class = 'dwbutton' nz-col nzSpan="8" nzPush="6" style="line-height: 40px;"> 
        <button nz-button type="submit" [nzType]="dwdj" (click)="dw()" >
          <i nz-icon nzType="team"></i>单位
        </button>
      </div>
      <div  nz-col nzSpan="8"  style="display: flex; flex-direction: row;margin-left: 5%;" >
        
        <sf #sf  
          [schema]="Schema"  
          [button]="null" 
          layout="inline"
          >
          <button nz-button type="submit" [nzType]="'primary'" (click)="searchsx()" >
            <i nz-icon nzType="search"></i>搜索
          </button> 
        </sf>
      </div>
    </div>
   
</nz-card>


<nz-card>  
  <div class="tysj_item_wrap" *ngFor="let mainItem of dataset">
    <div class="main_title">{{ mainItem.dgb011 }}</div>
    <div class="inner_wrap" >
      <div *ngFor="let innerItem of mainItem.children" class="info_item" (click)="tysl(innerItem)"
      >
     
      
        {{innerItem.dad031 }}
        
        
      </div>
    </div>
  </div>

</nz-card>